﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="VehicleArrangeList.aspx.cs" Inherits="Ewts.Storage.VehicleArrangeList2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<%--
<link rel="stylesheet" href="/css/tab4.css" type="text/css" />
         <link type="text/css" href="/css/autocomplete.css" rel="stylesheet" />
         <script type="text/javascript" src="/jquery/jquery.autocomplete.js"></script>
         <link type="text/css" href="/css/tab1.css" rel="stylesheet" />--%>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
<h2>派车维护</h2>
<br />
    <!--一个表单-->
    处理地：
    <asp:DropDownList ID="dropGraphic" runat="server" CssClass="dropGraphic">
        <asp:ListItem Text="全部" Value="" Selected="True"></asp:ListItem>
    </asp:DropDownList>
<div class="shadow"> 
<table id="tab_1" class="display" cellpadding="0" cellspacing="0" border="0" style="width:100%;">
<thead>
<tr>
            <th>序号</th>
            <th>LoadNum</th>
            <th>CJO单号</th>
            <th>派车单号</th>
            <th>客户编码</th>
            <th>客户名称</th>
            <th>货物件数</th>
            <th>特殊要求</th>
            <th>工人数</th>
            <th>车牌号</th>
             <th>操作</th>
</tr>
</thead>
</table>
</div>
 <script type="text/javascript">
     $(document).ready(function () {
        // var city = $(".dropGraphic").val();
         var mtable = $('#tab_1').dataTable({ "oLanguage": { "sUrl": "/jquery/jquery.dataTable.cn.txt" },
             "bJQueryUI": true,
             "sPaginationType": "full_numbers",
             'bPaginate': true,
             "bProcessing": true,
             "iDisplayLength": 25,
            
             "bDestory": true,
             "columns": [
                 { "data": "rownum" },
                    { "data": "l_loadnumno" },
                     { "data": "cjono" },
                    { "data": "vehicleNo" },
                     { "data": "cum_code" },
                     { "data": "cum_name" },
                     { "data": "numberestimate" },
                     { "data": "peculiarrequire" },
                     { "data": "vehider" },
                     { "data": "platenumber" },
                     { "data": "operatorurl" }                   
            ],
             "sAjaxSource": "/ashx/pageJuqery.ashx?pagetype=vm&city=" + encodeURI($(".dropGraphic").val()),
             "bServerSide": true
         });
         $('.dropGraphic').change(function () {

             mtable.fnReloadAjax("/ashx/pageJuqery.ashx?pagetype=vm&city=" + encodeURI($(".dropGraphic").val()));
         });
     });
 
</script>

</asp:Content>
